package com.htt.bms.dao.system;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.htt.bms.domain.sys.SysOrg;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 侯婷婷
 * @version 1.0
 * @description 组织mapper
 */
@Mapper
public interface SysOrgDao extends BaseMapper<SysOrg> {
    /**
     * 获取当前组织的所有子集
     * @param id
     * @return
     */
    List<SysOrg> getOrgChilden(Integer id);
}
